package com.yixun.qfbao.response.premises.detail;

import java.util.List;
import java.util.Map;

import com.yixun.qfbao.apidto.GetPremisesDetailReqDto;
import com.yixun.qfbao.apidto.GetPremisesDetailResDto;
import com.yixun.qfbao.apidto.PremisesDetailResDto;
import com.yixun.qfbao.model.dto.PremisesImageDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zilong.liu
 * @date 2020-11-2
 *
 * desc:
 *     
 */
@Data
public class PremisesFileInfo {
	
	@ApiModelProperty("对应文件下载链接")
	private String url;
	
	@ApiModelProperty("对应文件名称")
	private String name;
	
	@ApiModelProperty("对应文件类型")
	private String type;
	
	public PremisesFileInfo() {}
	
	public PremisesFileInfo(PremisesImageDto premisesImageDto) {
		this.name = premisesImageDto.getImageName();
		this.url = premisesImageDto.getImageUrl();
		this.type = premisesImageDto.getImageType();
	}
}
